home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Magazin: Amiga-CD 1996 November & December
/
Amiga-CD 1996 #11-12.iso
/
pd-disketten
/
dms-gepackt
/
3_96
/
apd-3-96-3-2.dms
/
apd-3-96-3-2.adf
/
CP5
/
bin
/
updateprogs.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1995-10-15
|
472b
|
19 lines
/* rexx:
** $ver: Update Program Prefs Version 1.0
*/
address command "copy cp:prefs/programs cp:prefs/programs.old"
address command "protect cp:prefs/programs.old -d"
call open(in,"cp:prefs/programs.old","R")
call open(out,"cp:prefs/programs","W")
call seek(out,0,"B")
do until eof(in)
line = readln(in)
parse var line progtype "=" programpath
newline = compress(progtype) ||" = stack "||programpath
call writeln(out,newline)
end
call close(in)
call close(out)